package com.lecyon.farm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lecyon.farm.entity.FmCoop;
import com.lecyon.farm.vo.view.StatisticFmCoopVo;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 合作社信息表 Mapper 接口
 *
 * @author YaoZheng
 * @since 2020-04-02
 */
@Component
public interface FmCoopMapper extends BaseMapper<FmCoop> {

    /**
     * 统计合作社数量在各区域的分布状况
     *
     * @return
     */
    List<StatisticFmCoopVo> statisticCoop();
}
